package org.snail.employee.bean;

import lombok.Data;

@Data
public class AddressCondition {
    private Integer id;   //主键
    private Integer empId;  //员工自增长id
    private String phone;  //手机号码
    private String dingId;  //钉钉用户id
    private Integer groupId;  //群id

    //添加的字段，不插入数据库
    private String groupName;   //群组名称
    private String name;     //员工名字

    /**
     *
     * @param empId 员工主键
     * @param dingId  钉钉用户ID
     * @param groupId 群组id
     * @param groupName  群组名称
     */
    public AddressCondition(Integer empId, String dingId, Integer groupId, String groupName) {
        this.empId = empId;
        this.dingId = dingId;
        this.groupId = groupId;
        this.groupName = groupName;
    }

    public AddressCondition() {
    }
}